import instance from '@/utils/request';

//产品管理列表
export function ProductManagementGetList(data) {
    return instance.request({
        url: "api/ProductManagement/ProductManagementGetList",
        method: "post",
        data
    })
}

//产品管理删除
export function DeleteProductManagementDtoAsyne(data) {
    return instance.request({
        url: "api/ProductManagement/DeleteProductManagementDtoAsyne",
        method: "post",
        data
    })
}

//产品管理添加
export function ProductManagementDtoAddSave(data) {
    return instance.request({
        url: "api/ProductManagement/ProductManagementDtoAddSave",
        method: "post",
        data
    })
}

//产品管理反填
export function GetProductManagementById(data) {
    return instance.request({
        url: "api/ProductManagement/GetProductManagementById",
        method: "post",
        data
    })
}

//产品管理修改
export function ProductManagementUpdate(data) {
    return instance.request({
        url: "api/ProductManagement/ProductManagementUpdate",
        method: "post",
        data
    })
}

//产品管理批量删除
export function DeletesProductManagementIsDisable(data) {
    return instance.request({
        url: "api/ProductManagement/DeletesProductManagementIsDisable",
        method: "post",
        data
    })
}

//加载仓库
export function BindWarehouse(data) {
    return instance.request({
        url: "api/ProductManagement/BindWarehouse",
        method: "post",
        data
    })
}
//加载库位
export function BindLocation(data) {
    return instance.request({
        url: "api/ProductManagement/BindLocation",
        method: "post",
        data
    })
}
//加载客户
export function BindCustom(data) {
    return instance.request({
        url: "api/ProductManagement/BindCustom",
        method: "post",
        data
    })
}
//加载单位
export function BindUnit(data) {
    return instance.request({
        url: "api/ProductManagement/BindUnit",
        method: "post",
        data
    })
}